package sis.threadtest;/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-08-01 19:57
 * @notify
 * @version 1.0
 */

public class MyThread extends Thread  {
    public synchronized void run() {
        System.out.println(Thread.currentThread().getName());
        try {
            Thread.sleep(2000);
        } catch (Exception e) {
        }
    }

    public synchronized void show() {

    }
}
